package com.base.domain;

import org.springframework.security.core.GrantedAuthority;

@SuppressWarnings("serial")
public class Role implements GrantedAuthority {
	
	private String roleName;

	public Role(String name) {
		setRoleName(name);
	}
	
	@Override
	public String getAuthority() {
		return roleName;
	}
	
	public void setRoleName(String name) {
		this.roleName = name;
	}

}
